
import Vue from "vue"
import vueResource from 'vue-resource';
import App from "./components/App.vue"
import router from "./router/router.js"
import "bootstrap/dist/css/bootstrap.css"
import store from "./store/store.js"
import Mock from './mock.js';
import MintUi from "mint-ui";
import 'mint-ui/lib/style.css'
import VuePreview from "vue-preview"
import "./lib/mui/css/mui.min.css"
import "./lib/mui/css/icons-extra.css"
import mui from "./lib/mui/js/mui.min.js"
import "./lib/mui/fonts/mui-icons-extra.ttf"
import "./lib/mui/fonts/mui.ttf"
window.mui = mui;



Vue.use(MintUi)
Vue.use(VuePreview)

Vue.use(vueResource)
Vue.use(VuePreview, {
    mainClass: 'pswp--minimal--dark',
    barsSize: {top: 0, bottom: 0},
    captionEl: false,
    fullscreenEl: false,
    shareEl: false,
    bgOpacity: 0.85,
    tapToClose: true,
    tapToToggleControls: false
  })

new Vue({
    el: "#app",
    template: "<App></App>",
    components: {
        App,
    },
    router,
    store
})